#include"sever.hpp"

int main(int argc,char *argv[])
{
   if(argc != 2)
   {
        std::cerr << "Usage: " << argv[0] << " port" << std::endl;
     return 1;
   }
  int port=atoi(argv[1]);
  udp_sever*t=new udp_sever(port);
  t->initudp_sever();
  t->start();
  return 0;
}
